package com.mushuilingfeng.ddd.user.domain.org.event;

import com.mushuilingfeng.ddd.framework.event.IDomainEvent;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 机构申请单提交事件
 * @author
 * @date 2024/9/24
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrgApplySubmitEvent implements IDomainEvent {
    private Long orgApplyId;

    @Override
    public Serializable id() {
        return orgApplyId;
    }

    @Override
    public String topic() {
        return "ORG_TOPIC";
    }

    @Override
    public String tag() {
        return "OrgApplySubmitEvent";
    }
}
